<!--
 * @Author: xuzehan h935351619@163.com
 * @Date: 2024-07-22 14:37:57
 * @LastEditors: xuzehan h935351619@163.com
 * @LastEditTime: 2024-07-22 17:08:36
 * @FilePath: \linshi\src\views\EquipmentControl\FrequencyConverter.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="groupDemodulatorBox">
    <a-card title="设备控制" style="width: 35%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="测试子系指令" >
                        <a-switch checked-children="开" un-checked-children="关" default-checked />
                      </a-form-model-item>  
                    </a-col>
            </a-row>
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="物理层解调系统指令" >
                        <a-button type="primary"> 重置 </a-button>
                      </a-form-model-item>  
                    </a-col>
            </a-row>
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="通道配置" >
                        <a-input v-model="form.fieldB3" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
                </a-row>
        
              <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="误码率测试" >
                        <a-input v-model="form.fieldB4" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
                </a-row>
          
      </a-form-model>
    </a-card>
    <a-card title="导频自动化设置" style="width: 29%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form2" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="自动模式参数" >
                        <a-input v-model="form2.fieldB1" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="自动校频时间" >
                        <a-input v-model="form2.fieldB2" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="导频发射通道号" >
                        <a-input v-model="form2.fieldB3" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="功放功率衰减" >
                        <a-input v-model="form2.fieldB4" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
    <a-card title="中频通道控制" style="width: 35%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form3" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="中频DDS强制控制指令" >
                        <a-switch checked-children="开" un-checked-children="关" default-checked />
                      </a-form-model-item>  
                    </a-col>
            </a-row>
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="中频DDS频偏控制" >
                        <a-input v-model="form3.fieldB3" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
    <a-card title="射频中频开关" style="width: 35%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form4" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="开关设置" >
                         <a-select default-value="1" style="width: 100%" @change="handleChange">
                          <a-select-option value="1">
                            射频接收分系统主备份开关
                          </a-select-option>
                          <a-select-option value="2">
                          	预选滤波器后开关
                          </a-select-option>
                          <a-select-option value="3">
                            输出中频开关
                          </a-select-option>
                          <a-select-option value="4">
                            射频接收输出跟踪开关
                          </a-select-option>
                         </a-select>
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
    <a-card title="软件复位" style="width: 29%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form5" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="软件复位" >
                         <a-select default-value="1" style="width: 100%" @change="handleChange">
                          <a-select-option value="1">
                           全系统软件复位
                          </a-select-option>
                          <a-select-option value="2">
                           导频分系统软件复位
                          </a-select-option>
                          <a-select-option value="3">
                           解调分系统软件复位
                          </a-select-option>
                         </a-select>
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
    <a-card title="测试突发长度选择" style="width: 35%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form6" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="长度选择" >
                        <a-input v-model="form6.fieldB3" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
    <a-card title="单载波输出开关" style="width: 35%">
      <!-- <a slot="extra" href="#">配置</a> --> 
       <a-form-model  :model="form7" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="单载波输出开关" >
                        <a-input v-model="form7.fieldB3" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
    <a-card title="400路源测试切换开关" style="width: 29%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form8" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="400路源测试切换" >
                        <a-input v-model="form8.fieldB3" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
    <a-card title="测试源选择" style="width: 35%">
     <!-- <a slot="extra" href="#">配置</a> -->
       <a-form-model  :model="form9" :label-col="labelCol" :wrapper-col="wrapperCol">
            <a-row>
                    <a-col :span="20">
                      <a-form-model-item label="测试源选择" >
                        <a-input v-model="form9.fieldB3" placeholder="请输入" />
                      </a-form-model-item>  
                    </a-col>
                    <a-col :span="4">
                      <a-button type="primary"> 确定 </a-button>
                    </a-col>
            </a-row>
      </a-form-model>
    </a-card>
  </div>
</template>

<script>
export default {
    data(){
      return{
          labelCol: { span:10 },
          wrapperCol: { span:14},
          form: {},
          form2:{},
          form3:{},
          form4:{},
          form5:{},
          form6:{},
          form7:{},
          form8:{},
          form9:{},
      }
    }
}
</script>

<style lang='less' scoped>
.groupDemodulatorBox{
  display:flex;
  flex-wrap: wrap;
}
</style>